# Description: MATE için WebDAV aracılığıyla kullanıcı düzeyinde ortak dosya paylaşımı
# URL: http://www.mate-desktop.org
# Packager: yasarciv67@gmail.com
# Depends on: caja dbus-glib intltool itstool libcanberra libnotify gtk3 mod-dnssd

name=mate-user-share
version=1.18.0
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version
    PYTHON=/usr/bin/python2 ./configure \
        --prefix=/usr \
        --libexec=/usr/lib/$name \
        --sysconfdir=/etc \
        --disable-bluetooth

    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
  make DESTDIR=$PKG install
}
